package org.zl.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.zl.mapper.ClazzInfoMapper;
import org.zl.mapper.MajorInfoMapper;
import org.zl.pojo.ClazzInfo;
import org.zl.pojo.MajorInfo;
import org.zl.service.ClazzInfoService;
import org.zl.service.MajorInfoService;

import java.util.List;

@Service
public class MajorInfoServiceImpl implements MajorInfoService {


    @Autowired
    private MajorInfoMapper majorInfoMapper;


    @Override
    public List<MajorInfo> getAllMajores() {
        return majorInfoMapper.getAllMajores();
    }
}
